import request from '@/utils/request'

// 获取表格列
export function getTableColumns(params) {
  return request({
    url: '/excel/getTableColumns.do?tableName=' + params,
    method: 'get'
  })
}

// 获取数据库表名称
export function getTableNames(params) {
  return request({
    url: '/excel/getTableNames.do',
    method: 'get',
    data: params
  })
}

// 写入
export function intoList(params) {
  return request({
    url: '/excel/intoList.do',
    method: 'post',
    data: params
  })
}
